package net.oschina.app.ui;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;

import net.oschina.app.R;
import net.oschina.app.base.BaseActivity;
import net.oschina.app.fragment.technology_answer.TechnologyAndAnswerFragment;

/**
 * Created by elf on 2017/1/13.
 */

public class TechnologyAndAnswerActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        initView();
        initData();
    }

    private void initData() {
    }

    private void initView() {
        setContentView(R.layout.activity_fragment);
        FragmentManager fm = getSupportFragmentManager();
        FragmentTransaction ft = fm.beginTransaction();
        ft.replace(R.id.container_open_soft, new TechnologyAndAnswerFragment()).commit();
        mActionBar.setTitle("技术问答");
    }
}
